import { ApiProperty } from "@nestjs/swagger";
import { IsString } from "class-validator";

export class CreateResultDto {
    @ApiProperty({
      description: '关键字',
      type: String,
    })
    @IsString()
    keyword: string;
  
    @ApiProperty({
      description: '详细信息',
      type: String,
    })
    @IsString()
    details: string;
  }